<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>   
<html>   
  <head>   
  <title> 登录页面 </title>
  <script language="javascript">
		function Search(){   
	    //对应的Action路径
		frmlist.action="login"
		document.frmlist.submit()   
	}   
	function CallProcedure(){   
        //对应的Action路径
		frmlist.action="callProcedure" 
		document.frmlist.submit()   
	}   
</script>
  </head>   
  <body>   
  <h1 align="center">用户登录页面</h1>   
  <hr>   
   <div align="center">   
   <form  name="frmlist" action=""  action="login" method="post">   
   <table  cellspacing=5 border=5 bodercolor=#ffaa00 >   
   <tr><th colspan="3" align="center"  bgcolor=#ffaa00>用户登录</th></tr>   
   <th rowspan="3" background="images/2.jpg" style="width=90px"></th>   
   <tr><td>用户名：</td><td><input type="text" class="message" name="username"></td></tr>   
   <tr><td>密  码：</td><td><input class="message" type="password" name="userpassword"></td></tr>   
    <tr><td colspan="2" align="center">
    	<input type="submit" name="btnSearch" value="登录"  onclick="Search()" > 
    	<input type="reset" value="重置">
    </td></tr>
    <tr><td>
    	<input type="submit" name="CallPro" value="测试存储过程" onClick="CallProcedure()">  
   </td></tr>
   </table>   
   </form>   
   </div>   
  </body>   
</html> 